package com.kriss.crm.util;

public class PageBean {

	private int pageNo  = 1 ;
	
	private int pageSize  = 2 ;
	
	private int allPages  ;
	
	private long allRecds   ;


	public int getStart(){
		return (this.pageNo-1)*this.pageSize;
	}
	
	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getAllPages() {
		return allPages;
	}

	public void setAllPages(int allPages) {
		this.allPages = allPages;
	}

	public long getAllRecds() {
		return allRecds;
	}

	public void setAllRecds(long allRecds) {
		this.allRecds = allRecds;
	}
	
}
